<script setup>
import { RouterLink, RouterView } from 'vue-router'
</script>

<template>
  <div class="app-container">
    <!-- <nav class="nav-menu" style="    position: absolute;
    z-index: 111;">
      <RouterLink to="/">首页</RouterLink>
      <RouterLink to="/project-management">项目管理</RouterLink>
    </nav> -->
    <RouterView />
  </div>
</template>

<style scoped>
.app-container {
  position: absolute;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.nav-menu {
  background-color: #1a1f2c;
  padding: 15px;
  display: flex;
  gap: 20px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}

.nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.nav-menu a.router-link-active {
  background-color: #409EFF;
}
</style>
